home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
8_3.lha
/
8_3
/
8_3_validfn.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
307b
|
13 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ Verify that a file exists
include <sys/types.h>
include <sys/stat.h>
nt validfilename(char *name)
struct stat statbuf;
return stat(name, &statbuf) != -1;